package com.kehutong.wxapi.response;

import org.coraframework.json.annotation.JSONField;

import java.util.List;

/**
 * 获取异步任务结果
 * @author: liukunlong
 * @date: 2021-03-08 18:43
 */
public class BatchGetResultResponse {

    /**
     * errcode
     */ /**
     * errcode : 0
     * errmsg : ok
     * status : 1
     * type : replace_user
     * total : 3
     * percentage : 33
     * result : [{},{}]
     */

    @JSONField(name = "errcode")
    private Integer errcode;
    /**
     * errmsg
     */
    @JSONField(name = "errmsg")
    private String errmsg;
    /**
     * status
     */
    @JSONField(name = "status")
    private Integer status;
    /**
     * type
     */
    @JSONField(name = "type")
    private String type;
    /**
     * total
     */
    @JSONField(name = "total")
    private Integer total;
    /**
     * percentage
     */
    @JSONField(name = "percentage")
    private Integer percentage;
    /**
     * result
     */
    @JSONField(name = "result")
    private List<ResultDTO> result;

    public Integer getErrcode() {
        return errcode;
    }

    public void setErrcode(Integer errcode) {
        this.errcode = errcode;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Integer getPercentage() {
        return percentage;
    }

    public void setPercentage(Integer percentage) {
        this.percentage = percentage;
    }

    public List<ResultDTO> getResult() {
        return result;
    }

    public void setResult(List<ResultDTO> result) {
        this.result = result;
    }

    public static class ResultDTO {
    }
}
